//
//  CZTestViewController.swift
//  WeiBo
//
//  Created by Apple on 16/9/13.
//  Copyright © 2016年 KY. All rights reserved.
//

import UIKit

class CZTestViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        setupNavUI()

    }

    private func setupNavUI() {
        title = "测试"
        view.backgroundColor = UIColor.white
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", target: self, action: #selector(pushAction))
    }
    
    
    // MARK: --点击事件
    @objc private func pushAction() {
        let testVc = CZTestViewController()
    
        navigationController?.pushViewController(testVc, animated: true)
    }

}
